package com.atguigu.juc.date108;

import java.util.concurrent.locks.ReentrantLock;

/**
 * @Author: shenhao
 * @CreatTime: 2024/10/8 20:28
 * @Version: 1.0
 * AQS = AbstractQueuedSynchronizer,抽象的队列同步器
 * 队列同步器
 */
public class AQSDemo {
    public static void main(String[] args) {
        ReentrantLock lock = new ReentrantLock();
        lock.lock();
        try {
            System.out.println();
        } finally {
            lock.unlock();
        }
        // AQS = AbstractQueuedSynchronizer,抽象的队列同步器
    }
}
